package com.zgg.files.dao;

import com.zgg.files.bean.OrderFile;
import com.zgg.files.bean.OrderFileExample;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface OrderFileMapper {

    int countByExample(OrderFileExample example);

    int deleteByExample(OrderFileExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(OrderFile record);

    int insertSelective(OrderFile record);

    List<OrderFile> selectByExampleWithRowbounds(OrderFileExample example, RowBounds rowBounds);

    List<OrderFile> selectByExample(OrderFileExample example);

    OrderFile selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") OrderFile record, @Param("example") OrderFileExample example);

    int updateByExample(@Param("record") OrderFile record, @Param("example") OrderFileExample example);

    int updateByPrimaryKeySelective(OrderFile record);

    int updateByPrimaryKey(OrderFile record);
}
